package com.situ.blog.dao;



import com.situ.blog.pojo.Auth;
import com.situ.blog.pojo.query.AuthQuery;

import java.util.List;

public interface IAuthDao {
    List<Auth> selectByPage(AuthQuery authQuery);

    int selectTotalCount(AuthQuery authQuery);

    void deleteById(int id);

    void add(Auth auth);

    Auth selectById(int id);

    void update(Auth auth);

    void updateStatus(String id, int status);

    List<Auth> selectByRole(Integer role);
}
